package com.shop.trade.api.service;

import com.shop.common.model.InputBean;
import com.shop.common.model.ServiceBean;
import com.shop.common.model.param.trade.OrderCommentInput;
import com.shop.common.model.result.trade.OrderCommentOutput;

import java.util.List;

/**
 * @Description:
 *
 * @author zhoulk
 * @date: 2019年04月16日  3:29
 */

public interface IOrderCommentSvc {
    ServiceBean<Integer> addComment(OrderCommentInput input, Integer userId);

    ServiceBean<Integer> modComment(OrderCommentInput input);

    ServiceBean<Integer> delComment(Integer id);

    ServiceBean<OrderCommentOutput> qryOrderComment(OrderCommentInput input);

    ServiceBean<List<OrderCommentOutput>> qryOrderComments(OrderCommentInput input);

    ServiceBean<List<OrderCommentOutput>> qryOrderComments4P(InputBean<OrderCommentInput> input);

    ServiceBean<OrderCommentOutput> qryCommentCount(OrderCommentInput input);
}
